<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>go语言学习教程</title>
    <meta name="keywords" content="go语言,golang,go语言教程,golang教程,go语言学习,golang学习"/>
    <meta name="description" content="(www.zhoukezhang)最好最受欢迎的go语言学习教程"/>
    <link rel="stylesheet" type="text/css" href="/assets/auicss/aui.css?v=1" />
    <link rel="stylesheet" href="/assets/css/normalize.css">
    <link rel="stylesheet" href="/assets/css/main.css">
    <style>
        .c{width: 1200px; margin: 0 auto;}
        .footer{clear: both; width: 100%}
        .aui-list{border-top: 0;}
        .main-nav .active{color: #ff7400;}
        .aui-card-list-footer span{font-size: 14px;}
        .aui-card-list a{display: block;}
        .aui-card-list a:hover,  a.aui-list-item:hover{background-color: #f0fafb; cursor: pointer;}
        a.aui-list-item{display: block; color: #212121}
        .aui-list .aui-ellipsis-2{display:-webkit-box; font-size: 14px;}
        .aui-card-list-footer .lj{background: none; display: block;}
        .aui-card-list-footer .lj:hover{background: none;}
        .jc_list{height: auto; overflow: hidden;}
        .jc_list a{width: 400px; float: left;}
    </style>
</head>
<body>
<!-- header -->
<?php
include_once 'inc_nav.php';
?>
<div class="header-placeholder"></div>
<div class="c aui-margin-t-15">
    <section class="aui-content">
        <ul id="js_list" class="aui-list aui-media-list">
            <li class="aui-list-header">go语言学习教程</li>
        </ul>
        <ul class="aui-list jc_list">
            <?php
            $i = 1;
            foreach ($list as $v) {
                $title = $v['go_title'] ? $v['go_title'] : $v['title'];
                ?>
                <a target="_blank" title="<?php echo $title;?>" href="<?php echo site_url('home/v/'.$v['id'])?>" class="aui-list-item aui-arrow-right">
                    <div class="aui-list-item-inner">
                        第<?php echo $i;?>节 <?php echo sub_html($title, 13);?>
                    </div>
                </a>
                <?php
                $i++;
            }
            ?>
        </ul>
    </section>
</div>
<?php
view_include('home/inc_foot');
?>
<script type="text/javascript">

</script>
</body>
</html>